package com.ruiysoft.crm.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

@Data
@TableName(value = "biz_policy")
public class BizPolicy implements Serializable {
    public static final String COL_STATUS = "status";
    public static final String COL_POLICY_NO = "policy_no";
    public static final String COL_CREATE_DATA = "create_data";
    public static final String COL_MODIFICATION_DATA = "modification_data";
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商业险保单号
     */
    @TableField(value = "commerceinsurance_policy_no")
    private String commerceinsurancePolicyNo;

    /**
     * 交强险金额
     */
    @TableField(value = "sali_fee")
    private Double saliFee;

    /**
     * 优惠金额
     */
    @TableField(value = "discountAmount")
    private Double discountamount;

    /**
     * 商业险费用
     */
    @TableField(value = "commerceinsurance_fee")
    private Double commerceinsuranceFee;

    /**
     * 险种
     */
    @TableField(value = "insurance_type")
    private String insuranceType;

    /**
     * 车船税
     */
    @TableField(value = "vehicle_vessel_tax_fee")
    private Double vehicleVesselTaxFee;

    /**
     * 新保、续保
     */
    @TableField(value = "new_renewal_status")
    private String newRenewalStatus;

    /**
     * 礼品
     */
    @TableField(value = "gift")
    private String gift;

    /**
     * 支付方式
     */
    @TableField(value = "payment")
    private String payment;

    /**
     * 总价
     */
    @TableField(value = "total_fee")
    private Double totalFee;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 保单状态
     */
    @TableField(value = "policy_status")
    private String policyStatus;

    /**
     * 出单日期
     */
    @TableField(value = "billDate")
    private LocalDateTime billdate;

    /**
     * 客户ID
     */
    @TableField(value = "client_id")
    private Integer clientId;

    /**
     * 业务员ID
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 出单账号
     */
    @TableField(value = "user_name")
    private String userName;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    private LocalDateTime createDate;

    /**
     * 修改时间
     */
    @TableField(value = "modification_date")
    private LocalDateTime modificationDate;

    /**
     * 业务员姓名
     */
    @TableField(value = "user_real_name")
    private String userRealName;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 交强险单号
     */
    @TableField(value = "sali_policy_no")
    private String saliPolicyNo;

    /**
     * 被保险人
     */
    @TableField(value = "recognizee")
    private String recognizee;

    /**
     * 被保险人身份证号码
     */
    @TableField(value = "recognizee_id_card")
    private String recognizeeIdCard;

    /**
     * 票据信息
     */
    @TableField(value = "billing_information")
    private String billingInformation;

    /**
     * 车主
     */
    @TableField(value = "car_owner")
    private String carOwner;

    /**
     * 车主身份证号
     */
    @TableField(value = "car_owner_id_card")
    private String carOwnerIdCard;

    /**
     * 起保日期
     */
    @TableField(value = "commencemen_date")
    private LocalDateTime commencemenDate;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_COMMERCEINSURANCE_POLICY_NO = "commerceinsurance_policy_no";

    public static final String COL_SALI_FEE = "sali_fee";

    public static final String COL_DISCOUNTAMOUNT = "discountAmount";

    public static final String COL_COMMERCEINSURANCE_FEE = "commerceinsurance_fee";

    public static final String COL_INSURANCE_TYPE = "insurance_type";

    public static final String COL_VEHICLE_VESSEL_TAX_FEE = "vehicle_vessel_tax_fee";

    public static final String COL_NEW_RENEWAL_STATUS = "new_renewal_status";

    public static final String COL_GIFT = "gift";

    public static final String COL_PAYMENT = "payment";

    public static final String COL_TOTAL_FEE = "total_fee";

    public static final String COL_ADDRESS = "address";

    public static final String COL_POLICY_STATUS = "policy_status";

    public static final String COL_BILLDATE = "billDate";

    public static final String COL_CLIENT_ID = "client_id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_USER_NAME = "user_name";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_MODIFICATION_DATE = "modification_date";

    public static final String COL_USER_REAL_NAME = "user_real_name";

    public static final String COL_REMARK = "remark";

    public static final String COL_SALI_POLICY_NO = "sali_policy_no";

    public static final String COL_RECOGNIZEE = "recognizee";

    public static final String COL_RECOGNIZEE_ID_CARD = "recognizee_id_card";

    public static final String COL_BILLING_INFORMATION = "billing_information";

    public static final String COL_CAR_OWNER = "car_owner";

    public static final String COL_CAR_OWNER_ID_CARD = "car_owner_id_card";

    public static final String COL_COMMENCEMEN_DATE = "commencemen_date";
}